package com.nhncorp.pleiades.client;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class Constraint {
  
  Map<EventFilter.Operator, String> constraints;
  
  public Constraint() {
    constraints = new ConcurrentHashMap<EventFilter.Operator, String>();
  }

  public Map<EventFilter.Operator, String> getConstraints() {
    return constraints;
  }
  
  public void add(EventFilter.Operator op, String key) {
    constraints.put(op, key);
  }
  
  public void remove(EventFilter.Operator op) {
    constraints.remove(op);
  }

}
